# -*- coding: utf-8 -*-
# ASI_CONTROL_CAPS.py was created by RuanYaoHuang on 2023/4/1.

import ctypes
from .ASI_CONTROL_TYPE import ASI_CONTROL_TYPE


class ASI_CONTROL_CAPS(ctypes.Structure):
    _fields_ = [
        ('Name', ctypes.c_char * 64),
        ('Description', ctypes.c_char * 128),
        ('MaxValue', ctypes.c_long),
        ('MinValue', ctypes.c_long),
        ('DefaultValue', ctypes.c_long),
        ('IsAutoSupported', ctypes.c_bool),
        ('IsWritable', ctypes.c_bool),
        ('ControlType', ASI_CONTROL_TYPE),
        ('Unused', ctypes.c_char * 32),
    ]
